/**
 * @author raelzhu
 * @version $Revision: 1.3 $
 */
Opal.Log = {
	info: function() {
		if (typeof console != 'undefined') console.info.apply(console, arguments);
	},
	
	debug: function() {
		if (typeof console != 'undefined') console.debug.apply(console, arguments);
	},
	
	warn: function() {
		if (typeof console != 'undefined') console.warn.apply(console, arguments);
	},
	
	error: function() {
		if (typeof console != 'undefined') console.error.apply(console, arguments);
	},
	
	showConsole: function() {
		if (typeof console != 'undefined') console.open();	
	}
};

var info = Opal.Log.info;
var debug = Opal.Log.debug;
var warn = Opal.Log.warn;
var error = Opal.Log.error;

var log = debug;
